package com.china.produce.service;

import com.china.produce.pojo.City;
import org.springframework.beans.factory.FactoryBean;

/**
 * @ClassName
 * @Author niujie
 * @Version
 * @Description
 * @CreateTime 2022/2/16
 */
public class AbService implements FactoryBean {
    @Override
    public City getObject() throws Exception {
        return new City("niujie", "200");
    }

    @Override
    public Class<?> getObjectType() {
        return City.class;
    }
}
